<template>
  <div class="swbox">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item><img src="@/assets/img/l1.jpg" alt="" /></van-swipe-item>
      <van-swipe-item><img src="@/assets/img/l2.jpg" alt="" /></van-swipe-item>
      <van-swipe-item><img src="@/assets/img/l3.jpg" alt="" /></van-swipe-item>
      <van-swipe-item><img src="@/assets/img/l4.jpg" alt="" /></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.swbox {
  width: 100%;
  height: 5rem;
  z-index: 1;

  border-radius: 1rem;
  .my-swipe {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    img {
      width: 100%;
    }
  }
}
</style>